Custom Dialog Functions
A dialog hook function handles user selections in a dialog box. A custom dialog function lets you support the template in the custom dialog template that you specified with theCustomGetFilePreview
routine. This function corresponds to the File Manager'sCustomGetFile
routine. See Inside Macintosh: Files for a complete description of theCustomGetFile
routine.You specify your dialog function in the
dlgHook
parameter ofCustomGetFilePreview
. You can use this parameter to support a custom dialog box function you have supplied by specifying a dialog template resource in your resource file. You specify the dialog template's resource ID with thedlgID
parameter. If you are not supplying a custom dialog function, set this parameter tonil
. For more information about using custom dialog functions with theCustomGetFile
routine, see Inside Macintosh: Files.
Subtopics
- MyDlgHook